package dan.eyt.model;

import javax.persistence.Entity;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import tv.adap.model.TemporalAbstractEntity;

@Entity
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class Instructor extends TemporalAbstractEntity {

  private String username;

  public Instructor(){}
  
  public Instructor(String username){
    this.username = username; 
  }
  
  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  } 
}
